package oop.movie;

public class movie {
    private String name;
    private double score;
    private String time;
    private int id;
    private String area;
    private String type;
    private String director;
    private String major;
    public movie(){

    }
    public movie(String name, double score){
        this.name=name;
        this.score=score;
    }

    public movie(String name, double score, String time, int id, String area, String type, String director, String major) {
        this.name = name;
        this.score = score;
        this.time = time;
        this.id = id;
        this.area = area;
        this.type = type;
        this.director = director;
        this.major = major;
    }

    public  void setName(String name){
        this.name=name;
    }
    public  String getName(){
        return name;
    }
    public void setScore(double score){
        this.score=score;
    }
    public double getScore(){
        return score;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    public int getId(){
        return id;
    }
    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return area
     */
    public String getArea() {
        return area;
    }

    /**
     * 设置
     * @param area
     */
    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return director
     */
    public String getDirector() {
        return director;
    }

    /**
     * 设置
     * @param director
     */
    public void setDirector(String director) {
        this.director = director;
    }

    /**
     * 获取
     * @return major
     */
    public String getMajor() {
        return major;
    }

    /**
     * 设置
     * @param major
     */
    public void setMajor(String major) {
        this.major = major;
    }


}
